slicelistmodel: Fix two wrong computations
authorBenjamin Otte <otte@redhat.com>
Fri, 14 Feb 2020 02:13:49 +0000 (03:13 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 14 Feb 2020 02:15:22 +0000 (03:15 +0100)
commitd303b5b0eb7c1ff43ac1d3ba01ed93430db1dfc8
treeeac1837b92d7333b56e5c84b11eb8d4cdedb43c7
parent97ec29d3f55d214c0b394a438feab77b2553ee5a
slicelistmodel: Fix two wrong computations

Both of those are thinkos during math.
Found by Mohammed Sadiq.

Testcases triggering both have been added.
gtk/gtkslicelistmodel.c
testsuite/gtk/slicelistmodel.c